//==================================================
// 作 者：曾浩
// 日 期：2012-03-15
// 描 述：介绍本文件所要完成的功能以及背景信息等等
//==================================================
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CoreFrame.Core.Orm;

namespace MarchEstate.Manager.BusinesEntity
{
	[Serializable]
	[Table(TableName = "WY_CarArea", EntityType = EntityType.Table, IsGB = false)]
	public abstract class AbstractCarArea : CoreFrame.Business.AbstractBusines
	{
		private string _code;//
		/// <summary>
		/// 
		/// </summary>
		[Column(FieldName = "Code", DataKey = false, IsSingleQuote = true, Match = "", IsInsert = true)]
		public string Code
		{
			get { return _code; }
			set { _code = value; }
		}
		private string _areaname;//
		/// <summary>
		/// 
		/// </summary>
		[Column(FieldName = "AreaName", DataKey = false, IsSingleQuote = true, Match = "", IsInsert = true)]
		public string AreaName
		{
			get { return _areaname; }
			set { _areaname = value; }
		}
		private string _memo;//
		/// <summary>
		/// 
		/// </summary>
		[Column(FieldName = "Memo", DataKey = false, IsSingleQuote = true, Match = "", IsInsert = true)]
		public string Memo
		{
			get { return _memo; }
			set { _memo = value; }
		}

        public abstract bool Save(string type);

        public abstract bool Delete(string _code);

        public abstract System.Data.DataTable GetCarAreaList();
	}
}